/**
 * 
 *  深圳市电联电子商务有限公司
 * 
 * 
 * Copyright (c) 2011-2012 RUIPENGKJ.Co.Ltd. All rights reserved.
 * 
 * */
package com.ruipengkj.bean;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 说明：
 * Entity Name 轮班
 * @Author：朱攀
 * @Date：2012-08-17
 */
@Entity
@Table(name="twork")
public class TDuty implements Serializable{
	
	
	private static final long serialVersionUID = 1L;
	
	
	private String DutyID; //轮班编号
	private String EmployeeID; //轮班员工编号
	private Date HappenDate;   //日期
	private String WorkID; //班次编号
	private String Des;    //值班原因
	
	
	
	@Column(name = "DutyID", length=15)
	@Id
	public String getDutyID() {
		return DutyID;
	}
	public void setDutyID(String dutyID) {
		DutyID = dutyID;
	}
	@Column(name = "EmployeeID")
	public String getEmployeeID() {
		return EmployeeID;
	}
	public void setEmployeeID(String employeeID) {
		EmployeeID = employeeID;
	}
	@Column(name = "HappenDate")
	public Date getHappenDate() {
		return HappenDate;
	}
	public void setHappenDate(Date happenDate) {
		HappenDate = happenDate;
	}
	@Column(name = "WorkID")
	public String getWorkID() {
		return WorkID;
	}
	public void setWorkID(String workID) {
		WorkID = workID;
	}
	@Column(name = "Des")
	public String getDes() {
		return Des;
	}
	public void setDes(String des) {
		Des = des;
	}
	
	

	

	
	
}
